﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Conference.Logic.Base;

namespace Conference.Logic.Proposal
{
    /// <summary>
    /// Class that represents a item of a proposal
    /// </summary>
    public class ItemProposal: Item
    {
        #region Attributes
        private bool isScheduled;
        #endregion

        #region Properties
        /// <summary>
        /// Indicates if current item has already been schedule
        /// </summary>
        public bool IsScheduled
        {
            get
            { 
                return this.isScheduled; 
            }
            set
            {
                this.isScheduled = value;
            }
        }
        #endregion

        #region Constructor
        /// <summary>
        /// Create a new item proposal using base class.
        /// </summary>
        /// <param name="description">Title</param>
        /// <param name="type">Type (default, lightning)</param>
        /// <param name="duration">Duration length</param>
        public ItemProposal(string description, ItemType type, TimeSpan duration):
            base (description, type, duration)
        {

        }
        #endregion
    }
}
